//
//  YPMemberCenterViewController.m
//  ChengHuiTong
//
//  Created by CHT-Technology on 2017/1/10.
//  Copyright © 2017年 张文权. All rights reserved.
//

#import "YPMemberCenterViewController.h"

@interface Person : NSObject

@property (nonatomic,copy)void (^ MyBlock)();

@end

@implementation Person


@end

@interface YPMemberCenterViewController (){
    
    int _page;
}

@property (nonatomic,strong)Person *person;
@property (nonatomic)int age;


@end

@implementation YPMemberCenterViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.person = [[Person alloc]init];
    
    self.person.MyBlock = ^{
        _age = 1;
        _page = _page+1;
    };
    
//    self.MyBlock = ^{
//        
//        _page ++;
//    };
}


@end
